package com.crm.manager.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDate;

@Data
public class ContractStatisticPageDto {

    private Integer pageNum;
    private Integer pageSize;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer channel;
    //@JsonFormat(pattern = "yyyy-MM-dd")
    private String beginCreateTime;
    private String endCreateTime;
    private Integer deptId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer createBy;
}
